<template>
  <div style="height:20px;">
    <el-tooltip content="刷新"> 
      <icon :size="20" name="el-icon-Refresh"   @click="onRefreshClick" />
    </el-tooltip>
  </div>
</template>

<script setup> 

import { useAppStore } from '@/stores/app'
const appStore = useAppStore() 
const onRefreshClick = () => {
  appStore.refreshView()
}

</script>

<style scoped></style>